package com.itbour.def;

/**
 * copyright   pirate alliance team 2014
 * @author     xuwei
 */
public class Constants
{
    /** デバッグログパッケージ名. */
    public static final String LOG_PACKAGE_DEBUG = "sys.debug";

    /** SQLログパッケージ名. */
    public static final String LOG_PACKAGE_SQL = "sys.sql";

    /** SQLパフォーマンスログパッケージ名. */
    public static final String LOG_PACKAGE_SQLPERFORMANCE = "sys.sql_pf";

	/** エラー詳細ログパッケージ名. */
	public static final String LOG_PACKAGE_ERROR_DETAIL = "sys.error";

	/** 画面操作ログパッケージ名. */
	public static final String LOG_PACKAGE_DISP_OP = "sys.disp_op";

	/** ログ出力項目区切文字. */
	public static final String LOG_ITEM_DELIMITER = ",";

	/** */
	public static final String PAGING_SQL_SUFFIX_STRING = "Paging";

	/** テーブル名 */
	public static final String TB_M_USER = "TB_M_USER";
	public static final String TB_GOODS = "TB_GOODS";
	public static final String TB_M_AREA = "TB_M_AREA";
	public static final String TB_ORDERS = "TB_ORDERS";
	public static final String TB_QA = "TB_QA";
	public static final String TB_SERVICE_GOODS_ORDER_DETAIL = "TB_SERVICE_GOODS_ORDER_DETAIL";
	public static final String TB_SCHEDULE = "TB_SCHEDULE";
	public static final String TB_EVENT = "TB_EVENT";
	public static final String TB_GOLDEN_COIN = "TB_GOLDEN_COIN";
	public static final String TB_SILVER_COIN = "TB_SILVER_COIN";
	public static final String TB_MESSAGE = "TB_MESSAGE";
	public static final String TB_GOLDEN_COIN_HISTORY = "TB_GOLDEN_COIN_HISTORY";
	public static final String TB_SILVER_COIN_HISTORY = "TB_SILVER_COIN_HISTORY";

	/** 受注状态 OK */
	public static final int ORDER_STATUS_OK = 3;

	/** 受注状态 NG*/
	public static final int ORDER_STATUS_NG = 2;

	/** 受注状态 PAY*/
	public static final int ORDER_STATUS_PAY = 1;

    /** STATUS 有效 **/
    public static final int STATUS_ACTIVE = 1;

    /** STATUS 无效 **/
    public static final int STATUS_INACTIVE = 0;

    /** 系统换行符 */
    public static final String SYSTEM_CRLF = System.getProperty("line.separator");

    /** 系统tab符 */
    public static final String SYSTEM_TAB = "\t";

    /** 金コインルールID */
    public static final String GOLDEN_COIN_RULE_ID = "00001";

    /** 銀コインルールID */
    public static final String SILVER_COIN_RULE_ID = "00002";
    
    /** 文件路径分隔符 */
    public static final String PATH_SEPEARTOR = System.getProperty("file.separator");
    
    /** 商品图片的存储路径 */
    public static final String GOODS_IMAGE_PATH = "goodsPhotos";
    /** 资源图片存储路径*/
    public static final String RESOURCE_IMAGE_PATH = "resourcePhotos";
    
    public static final String LANGUAGE_EN_PATH="en";
    public static final String LANGUAGE_CN_PATH="zh-Hans";
    public static final String LANGUAGE_JA_PATH="ja";
}
